/*
 * sysprops.h
 *
 * This file contains defines for the properties for the operating system.
 *
 *  Created on: 13.01.2013
 *      Author: Michael
 */

#ifndef SYSPROPS_H_
#define SYSPROPS_H_

/*
 * ======== System related defines (prefix SYS_) ========
 */
#define SYS_NAME "OS"
#define SYS_VERSION "0.1"

/*
 * ======== Scheduler related defines (prefix SCHEDULER_) ========
 */

/*
 * Define the maximum number of parallel allowed threads.
 */
#define SCHEDULER_MAX_THREADS 10

/*
 * Define the scheduler interval in ms.
 * Changes here do not have effects. This value has to be changed in the grace tool in Timer0_A3.
 */
#define SCHEDULER_INTERVAL 500

/*
 * Define the scheduling algorithm.
 * 0: Round Robin
 */
#define SCHEDULER_ALGORITHM 0

/*
 * Define the stack size per thread (bytes).
 */
#define SCHEDULER_STACKSIZE_PER_THREAD 32

#endif /* SYSPROPS_H_ */
